<template>
    <div>
        <h3>childComponent</h3>
    </div>
</template>

<script setup>
import { ref } from 'vue';
const num = ref(0);
const name = ref('mercy')
defineExpose({
    num,
    name
})
</script>

<style scoped>

</style>